package cn.lxm.cas.client2.config;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.servlet.mvc.method.annotation.AbstractJsonpResponseBodyAdvice;

/**
 * @author LXM
 * @Title: cas
 * @Description:
 * @date 2018/9/3上午11:20
 */
@ControllerAdvice(basePackages = {"cn.lxm.cas.client2.controller"})
public class JSONPConfiguration extends AbstractJsonpResponseBodyAdvice {

    public JSONPConfiguration() {
        super("callback", "jsonp");
    }
}